﻿namespace FitProtocolLibrary
{
    public enum BaseType : byte
    {
        // Definition    = Dec   Num  Endian  Size  Invalid Value
        ENUM    = 0x00, //   0    0   0       1     0xFF
        SINT8   = 0x01, //   1    1   0       1     0x7F
        UINT8   = 0x02, //   2    2   0       1     0xFF
        SINT16  = 0x83, // 131    3   1       2     0x7FFF
        UINT16  = 0x84, // 132    4   1       2     0xFFFF
        SINT32  = 0x85, // 133    5   1       4     0x7FFFFFFF
        UINT32  = 0x86, // 134    6   1       4     0xFFFFFFFF
        STRING  = 0x07, //   7    7   0       1     0x00
        FLOAT32 = 0x88, // 136    8   1       4     0xFFFFFFFF
        FLOAT64 = 0x89, // 137    9   1       8     0xFFFFFFFFFFFFFFFF
        UINT8Z  = 0x0A, //  10   10   0       1     0x00
        UINT16Z = 0x8B, // 139   11   1       2     0x0000
        UINT32Z = 0x8C, // 140   12   1       4     0x00000000
        BYTE    = 0x0D, //  13   13   0       1     0xFF
    }
}
